Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Волков Кирилл #199

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

caimanchik
Copy link

No description provided.

@@ -1,14 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

This comment was marked as resolved.


namespace ObjectPrinting
{
public interface ISerializerSetter

This comment was marked as resolved.

.Serialize(s => maxLength >= s.Length ? s : s[..maxLength]);
}

void ISerializerSetter.SetSerializer<T>(Func<T, string> serializer, PropertyInfo propertyInfo)

This comment was marked as resolved.

return PrintToString1(obj, new List<object>().ToImmutableList());
}

public string PrintToString1(object obj, ImmutableList<object> previous)

This comment was marked as resolved.


public static class DictionaryExtensions
{
public static string ObjectPrintDictionary<T>(

This comment was marked as resolved.

this IEnumerable<T> enumerable,
string startSymbol,
string endSymbol,
Func<T, string> getRow,

This comment was marked as resolved.

previous);
}

public static string EnumerateForObjectPrinting<T>(

This comment was marked as resolved.

@@ -0,0 +1,11 @@
using System;
using System.Globalization;

This comment was marked as resolved.


namespace ObjectPrinting
{
public class Serializer<T, TOwner> : ISerializer<T, TOwner>

This comment was marked as resolved.


namespace ObjectPrintingTests;

public class ObjectPrintingTests

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants